![]() |
DrawThemeScrollBarDelimiters |
||||
Header: | Appearance.h | Carbon status: | Supported | |
Outlines a window’s scroll bars.
OSStatus DrawThemeScrollBarDelimiters ( ThemeWindowType flavor, const Rect *inContRect, ThemeDrawState state, ThemeWindowAttributes attributes );
A value of type ThemeWindowType. Pass a constant specifying the type of window for which to draw scroll bar delimiters. See
A pointer to a structure of type Rect. Before calling DrawThemeScrollBarDelimiters, set the rectangle to the boundary of the content rectangle of the window, in local coordinates.
A value of type ThemeDrawState. Pass a constant—either kThemeStateActive or kThemeStateInactive—appropriate to the current state of the window. The scroll bar delimiters can be drawn as active or inactive; passing kThemeStatePressed produces an error. See
A value of type ThemeWindowAttributes. Pass one or more constants corresponding to the window’s current visual attributes. See
A result code.
The DrawThemeScrollBarDelimiters function draws theme-compliant outlines for both the horizontal and vertical scroll bars in a given window. The scroll bars are each assumed to cover the full length of their respective sides of the window’s content region; if the scroll bars for which you wish delimiters to be drawn are not full length, or if only one scroll bar exists for a given window, DrawThemeScrollBarDelimiters should not be used.
This function is available with Appearance Manager 1.1 and later.
Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)